import { IsString, IsNotEmpty, Length } from "class-validator";

export class BlogDto {
    @IsNotEmpty()
    title:string;
    @IsNotEmpty()
    cover:string;
    @IsNotEmpty()
    introduce:string;
    @IsNotEmpty()
    content:string;

    @IsNotEmpty()
    htmlconten:string;

    @IsNotEmpty()
    state:string;

    
    
    
}
